package com.warmlight.voicepacket.data.eventbus;

/**
 * Created by jason on 2018/5/25.
 */

public class PlayerServiceData {

    public static final int FREE = 0;
    public static final int PLAY = 1;
    public static final int PAUSE = 2;
    public static final int RESUME = 3;
    public static final int STOP = 4;

    public int code = FREE;
    public String audioPath;

    public String delay;

    private boolean isFloat = false;

    public PlayerServiceData(int code, String audioPath, String delay,boolean isFloat) {
        this.code = code;
        this.audioPath = audioPath;
        this.delay = delay;
        this.isFloat = isFloat;
    }

    public PlayerServiceData(int code, String audioPath) {
        this.code = code;
        this.audioPath = audioPath;
    }

    public boolean isFloat() {
        return isFloat;
    }

    public void setFloat(boolean aFloat) {
        isFloat = aFloat;
    }

    public String getDelay() {
        return delay;
    }

    public void setDelay(String delay) {
        this.delay = delay;
    }

    public String getAudioPath() {
        return audioPath;
    }

    public void setAudioPath(String audioPath) {
        this.audioPath = audioPath;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
